﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GrayParrot.Web.Controls
{
    /// <summary>
    /// Event Base class..
    /// </summary>
    [Serializable]
    [Browsable(false)]
    public class EventBase
    {
        /// <summary>
        /// Gets or sets the function callback.
        /// </summary>
        /// <value>
        /// The function callback.
        /// </value>
        public string Callback { get; set; }

        /// <summary>
        /// Gets the datatables object type.
        /// </summary>
        /// <value>
        /// The type.
        /// </value>
        public InternalTypes Type { get; internal set; }

        /// <summary>
        /// Gets the datatables object name.
        /// </summary>
        /// <value>
        /// The name.
        /// </value>
        public string Name { get; internal set; }

        /// <summary>
        /// Gets or sets the function signature.
        /// </summary>
        /// <value>
        /// The function signature. This is the sequence of parameters requested for the function...
        /// </value>
        public string FunctionSignature { get; set; }

        public EventBase()
        {

        }
    }
}
